package com.group.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.group.admin.vo.ShopSku;
import com.group.common.to.SeckillOrderTo;
import com.group.common.utils.PageUtils;
import com.group.admin.entity.ShopCommodityEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品表
 *
 * @author gxx
 * @email hongyezhaofang.com
 * @date 2021-11-13 10:30:09
 */
public interface ShopCommodityService extends IService<ShopCommodityEntity> {

    PageUtils queryPage(Map<String, Object> params);


    List<ShopSku> skulist();

    void lockStock(SeckillOrderTo to);

    void releaseStock(SeckillOrderTo to);

}

